let translate: any = {};
const files = import.meta.glob("../mys/*.ts", { eager: true });
Object.keys(files).forEach((fileName) => {
  let key = fileName.replace("./", "").replace(".ts", "");
  const obj = files[fileName].default;
  translate[key] = obj;
});

export default translate;
